﻿package {
	import flash.display.*;
	import flash.display.*;
	import flash.events.Event;
	import flash.events.*;;
	import flash.net.*;
	//custom imports
	import extendedSymbols.ButtonExtend;
	import loaders.Retreuvak;
	//class difinition finally
	public class Load_test_main extends MovieClip {


		// Constants:
		// Public Properties:
		var mainLoader;
		// Private Properties:

		// Initialization:
		public function Load_test_main() {
			addEventListener( Event.ADDED, initTest);
		}
		function initTest(e:Event):void {
			mainLoader = new Retreuvak();
			btn_doit.addEventListener(MouseEvent.CLICK, doIt);
		}
		//test stuff
		function doIt(eventObj:MouseEvent) {
			mainLoader.getRequest(txt_input.text);
			mainLoader.loadvars();
		}

	}

}